<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="wf" uri="/augurit-wf"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>编辑城市生活垃圾处理场（厂）</title>
<script type='text/javascript' src="${ctx}/dwr/engine.js"></script>
<script type='text/javascript' src="${ctx}/dwr/util.js"></script>
<script type='text/javascript' src="${ctx}/dwr/interface/FileUploadCntl.js"></script>
<script src="${ctx}/gzcgwsp/resources/js/YwUtil.js" type="text/javascript"></script>
<link href="${ctx}/gzcgwsp/resources/css/common-ui.css" rel="stylesheet" type="text/css" />
<script src="${ctx}/gzcgwsp/resources/js/YwEnterprise.js" type="text/javascript"></script>
<script src="${ctx}/resources/js/jquery/jquery.js" type="text/javascript"></script>
<%@ include file="/wf/public/meta_wf.jsp"%>
<%@ include file="/common/meta.jsp"%>
<script src="${ctx}/gzcgwsp/shljcz/js/csshljcz.js" type="text/javascript"></script>
<script src="${ctx}/gzcgwsp/resources/js/YwUtil.js" type="text/javascript"></script>
<link href="${ctx}/gzcgwsp/resources/css/common-ui.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
$(document).ready(function(){
   var url="${ctx}/csshljclc!loadUpdate.action?clcId="+$("#clcId").val();
     Ext.Ajax.request({
       url: url,
       params:"",
       success:function(response){
          var result=response.responseText;
          var jsonData =eval('('+result+')');
	         for(var key in jsonData){
                  if(jsonData[key] == 'null' || jsonData[key] == null){ 
                      jsonData[key] = '';
                  }
                  $('#'+key).val(jsonData[key]);
                   $("input:[name="+key+"]:radio").each(function(){  
				     if (this.value ==jsonData[key]){  
						  this.checked=true; 
						}  
					}); 
					 $("input:[name="+key+"]:checkbox").each(function(){  
				     if (this.value ==jsonData[key]){  
						  this.checked=true; 
						}  
					});
               }
           }
  });
});


function dosave(){
	var czid=$("#czid").val();
    var params = $("#clcupdateForm").serialize();
	var url="${ctx}/csshljclc!doSave.action";
	 Ext.Ajax.request({
       url: url,
       params:params,
       success:function(response){
          var result=response.responseText;
          if(result=="success"){
          var openerurl = '${ctx}/csshljclc!toList.action?czid='+czid;
				Ext.Msg.alert('系统提示', '保存成功!', function(btn, text){if (btn == 'ok'){ 
					window.close();
					window.opener.location.href=openerurl;
				}});
			}else{
				Ext.Msg.alert('系统提示','保存失败！');
			}
          }
  });

		
}


</script>
</head>
<body>
<form action="${ctx}/csshljclc!doSave.action" id="clcupdateForm" name="clcupdateForm" >

<div id="" style="height:600px;overflow:auto;"> 
	<input type="hidden" name="czid" id="czid" value="${czid}"/> 
	<input type="hidden" name="clcId" id="clcId" value="${clcId}"/> 
		<table width="100%" align="center" border="0" cellspacing="2" cellpadding="2">
            <tr>
              <td>
              <table width="100%" border="1" cellspacing="0" cellpadding="2" class="tpl_list_ui">
        		<tr>
					<td bordercolor="#000000" colspan="10" height="25" align="center">城&nbsp;市&nbsp;生&nbsp;活&nbsp;垃&nbsp;圾&nbsp;处&nbsp;理&nbsp;场（厂）</td>
				</tr>
				<tr>
					<td bordercolor="#000000" colspan="10" height="25" >
						&nbsp;地址：
						<input isHide="true"  style="width:80%;" name="address" id="address"  value="${address}"  type="text" >
					</td>
				</tr>
				<tr>
					<td bordercolor="#000000" width="15%" colspan="5" height="25" >
						&nbsp;处理能力：
						<input isHide="true"  style="width:40%;" name="xlyclnl"  id="xlyclnl"  onKeyUp="javascript:clearNoNum(event,this)" onBlur="javascript:checkNum(this)"  type="text" >
						吨/天
					</td>
					<td bordercolor="#000000" colspan="5"  width="45%"  height="25" >
						&nbsp;双向称重：&nbsp;&nbsp;&nbsp;是<input isHide="true"  id="sxcz" name="sxcz" type="radio" value="1" />
						&nbsp;&nbsp;&nbsp;否<input isHide="true" name="sxcz"   type="radio" value="0" > 
					</td>
				</tr>
				<tr>
					<td bordercolor="#000000" colspan="5" height="25" >
						&nbsp;甲烷监测仪：
						&nbsp;有<input isHide="true" name="jwjcy" type="radio" value="1" />
						&nbsp;&nbsp;&nbsp;无<input isHide="true" name="jwjcy"  type="radio" value="0" > 
					</td>
					<td bordercolor="#000000" colspan="5" height="25" >
						&nbsp;在线监测：&nbsp;&nbsp;&nbsp;是<input isHide="true" type="radio" name="zxjc" value="1" />
						&nbsp;&nbsp;&nbsp;否<input isHide="true"  name="zxjc" type="radio" value="0" > 
					</td>
				</tr>
				<tr>
					<td bordercolor="#000000" width="15%" rowspan="2" colspan="1" height="25" align="center">渗沥液<br>处&nbsp;&nbsp;理
					</td>
					<td bordercolor="#000000" width="25%" colspan="9" height="25" >
						&nbsp;就地<input isHide="true" name="xlycldj" type="radio" value="0" />
					    &nbsp;&nbsp;&nbsp;膜法<input isHide="true" type="radio" name="xlycldj" value="1" />
						&nbsp;&nbsp;&nbsp;生物法<input isHide="true" name="xlycldj"   type="radio" value="2" > 
						&nbsp;&nbsp;&nbsp;物化法<input isHide="true" name="xlycldj"  type="radio" value="3" > 
						&nbsp;&nbsp;处理能力&nbsp;<input isHide="true"  style="width:50px;" type="text"  onKeyUp="javascript:clearNoNum(event,this)" onBlur="javascript:checkNum(this)" name="clnl"  id="clnl"  />吨/天
					
					</td>
				</tr>
				<tr>
					<td bordercolor="#000000" colspan="9" height="25" >
						&nbsp;外运：<input isHide="true" type="checkbox" name="xlycwy" value="0" />
						<input isHide="true"  style="width:50px;" name="xlycwycount" value="" onKeyUp="javascript:clearNoNum(event,this)" onBlur="javascript:checkNum(this)"   id="xlycwycount"  type="text" >吨/天
					</td>
				</tr>
				<tr>
					<td bordercolor="#000000" rowspan="2" colspan="1" height="25" align="center">堆&nbsp;&nbsp;肥<br>工&nbsp;&nbsp;艺
					</td>
					<td bordercolor="#000000" colspan="9" height="25" >
						&nbsp;好氧：&nbsp;&nbsp;&nbsp;<input isHide="true" name="dfgyhy" type="radio" value="0" />隧道式
						&nbsp;&nbsp;&nbsp;<input isHide="true" type="radio" name="dfgyhy" value="1" />条垛式
						&nbsp;&nbsp;&nbsp;<input isHide="true"   type="radio" name="dfgyhy" value="2" >其他
					</td>
				</tr>
				<tr>
					<td bordercolor="#000000" colspan="5" height="25" >
						&nbsp;产品质量监测：&nbsp;&nbsp;&nbsp;是<input isHide="true" name="dfgyqulity" type="radio" value="1" />
						&nbsp;&nbsp;&nbsp;否<input isHide="true" type="radio" name="dfgyqulity"  value="0" />
					</td>
					<td bordercolor="#000000" colspan="4" height="25" >
						&nbsp;销售追踪服务：&nbsp;&nbsp;&nbsp;是<input isHide="true" name="dfgyxsfw" type="radio" value="1" />
						&nbsp;&nbsp;&nbsp;否<input isHide="true" type="radio" name="dfgyxsfw" value="0" />
					</td>
				</tr>
				<tr>
					<td bordercolor="#000000" rowspan="6" colspan="1" height="25" align="center">卫&nbsp;&nbsp;生<br><br>填&nbsp;&nbsp;埋<br><br>工&nbsp;&nbsp;艺
					</td>
					<td bordercolor="#000000" colspan="4" height="25" >
						总容量：<input isHide="true"  style="width:50px;"  id="wstmtlval" name="wstmtlval" value="" onKeyUp="javascript:clearNoNum(event,this)" onBlur="javascript:checkNum(this)"  type="text" >立方米
					</td>
					<td bordercolor="#000000" colspan="5" height="25" >
						有效容量：<input isHide="true"  style="width:50px;"  id="wstmyxval"  name="wstmyxval" onKeyUp="javascript:clearNoNum(event,this)" onBlur="javascript:checkNum(this)" value=""  type="text" >立方米
					</td>
				</tr>
				<tr>
					<td bordercolor="#000000" colspan="3" height="25" >
						设计年限：<input isHide="true"  style="width:50px;" onKeyUp="javascript:clearNoNum(event,this)" onBlur="javascript:checkNum(this)" id="wstmxsjnx" name="wstmxsjnx" value=""  type="text" >年
					</td>
					<td bordercolor="#000000" colspan="3" height="25" >
						设计处理：<input isHide="true"  style="width:50px;" id="wstmxsjcl"   name="wstmxsjcl" onKeyUp="javascript:clearNoNum(event,this)" onBlur="javascript:checkNum(this)"  value=""  type="text" >吨/天
					</td>
					<td bordercolor="#000000" colspan="3" height="25" >
						项目总投资：<input isHide="true"  style="width:50px;" id="wstmxxmtz"   name="wstmxxmtz" onKeyUp="javascript:clearNoNum(event,this)" onBlur="javascript:checkNum(this)" value=""  type="text" >吨/天
					</td>
				</tr>
				<tr>
					<td bordercolor="#000000" colspan="9" height="25" >
						&nbsp;压实机：&nbsp;&nbsp;&nbsp;有<input isHide="true" name="haswstmsyj"  type="radio" value="1" />
						&nbsp;&nbsp;&nbsp;无<input isHide="true" type="radio" name="haswstmsyj"  value="0" />
						型号	&nbsp;<input isHide="true"  style="width:80px;" id="wstmsyjxh" name="wstmsyjxh"  value=""  type="text" >
						台数&nbsp;<input isHide="true"  style="width:80px;" onKeyUp="javascript:clearNoNum(event,this)" onBlur="javascript:checkNum(this)" id="wstmsyjcount"  name="wstmsyjcount"  value=""  type="text" />
						
					</td>
				</tr>
				<tr>
					<td bordercolor="#000000" colspan="9" height="25" >
						&nbsp;推土机：&nbsp;&nbsp;&nbsp;有<input isHide="true" name="haswstmttj"  type="radio" value="1" />
						&nbsp;&nbsp;&nbsp;无<input isHide="true" type="radio"  name="haswstmttj"  value="0" />
						型号	&nbsp;<input isHide="true"  style="width:80px;" id="wstmsttjxh" name="wstmsttjxh"  value=""  type="text" >
						台数&nbsp;<input isHide="true"  type="text"  onKeyUp="javascript:clearNoNum(event,this)" onBlur="javascript:checkNum(this)" style="width:80px;" id="wstmsttjcount"  name="wstmsttjcount"    value="" />
					</td>
				</tr>
				<tr>
					<td bordercolor="#000000" colspan="9" height="25" >
						&nbsp;防渗工艺：&nbsp;&nbsp;&nbsp;HPPE<input isHide="true" name="wstmssgy"  type="radio" value="0" />
						&nbsp;&nbsp;&nbsp;GCL	<input isHide="true" type="radio" name="wstmssgy"  value="1" />
						&nbsp;&nbsp;&nbsp;粘土	<input isHide="true" type="radio" name="wstmssgy"  value="2" />
						&nbsp;&nbsp;&nbsp;粘土+膨润土	<input isHide="true" name="wstmssgy"  type="radio" value="3" />
						&nbsp;&nbsp;&nbsp;其它	<input isHide="true" name="wstmssgy"  type="radio" value="4" />
					</td>
				</tr>
				<tr>
					<td bordercolor="#000000" colspan="9" height="25" >
						&nbsp;填埋气：&nbsp;&nbsp;&nbsp;集中收集燃放<input isHide="true" name="wstmtmq"  type="radio" value="0" />
						&nbsp;&nbsp;&nbsp;发电	<input isHide="true" name="wstmtmq"  type="radio"  value="1" />
						&nbsp;&nbsp;&nbsp;供热	<input isHide="true" name="wstmtmq"   type="radio"   value="2" />
						&nbsp;&nbsp;&nbsp;其它	<input isHide="true" name="wstmtmq"   type="radio"  value="3" />
					</td>
				</tr>
				<tr>
					<td bordercolor="#000000" rowspan="7" colspan="1" height="25" align="center">焚&nbsp;&nbsp;烧<br><br>发&nbsp;&nbsp;电<br><br>工&nbsp;&nbsp;艺
					</td>
					<td bordercolor="#000000" colspan="5" height="25"  style="border-bottom:0px; border-right:0px;">
						设计处理能力：<input isHide="true"  style="width:100px;" onKeyUp="javascript:clearNoNum(event,this)" onBlur="javascript:checkNum(this)"   id="fsfdnl"  name="fsfdnl"　　value=""  type="text" >吨/天
						
					</td>
					<td bordercolor="#000000" style="border-bottom:0px;" colspan="4" height="25" >
						项目总投资：<input isHide="true"  style="width:100px;" onKeyUp="javascript:clearNoNum(event,this)" onBlur="javascript:checkNum(this)"   id="fsfdtz"  name="fsfdtz"　　value=""  type="text" >万元
					</td>
				</tr>
				<tr>
					<td bordercolor="#000000" style="border-bottom:0px;" colspan="9" height="25" >
						&nbsp;项目占地面积：<input isHide="true"  style="width:100px;" onKeyUp="javascript:clearNoNum(event,this)" onBlur="javascript:checkNum(this)"   id="fsfdarea"  name="fsfdarea"　　value=""  type="text" >平方米
					</td>
				</tr>
				<tr>
					<td bordercolor="#000000" style="border-bottom:0px;" colspan="9" height="25" >
						处理线：&nbsp;&nbsp;&nbsp;<input isHide="true"  style="width:100px;"   onKeyUp="javascript:clearNoNum(event,this)" onBlur="javascript:checkNum(this)"　 name="fsfdclxts" id="fsfdclxts"  value=""  type="text" />吨/天
						<input isHide="true"  type="text"  onKeyUp="javascript:clearNoNum(event,this)" onBlur="javascript:checkNum(this)" style="width:80px;" id="fsfdclxcs"  name="fsfdclxcs"    value="" />条线
					</td>
				</tr>
				<tr>
					<td bordercolor="#000000" colspan="4" width="35%"　height="25"  style="border-bottom:0px; border-right:0px;">
						供电机组：<input isHide="true"  style="width:70px;"  　  type="text"  onKeyUp="javascript:clearNoNum(event,this)" onBlur="javascript:checkNum(this)"  name="fsfdgdjzw"　 value="" id="fsfdgdjzw"/>MW&nbsp;&nbsp;&nbsp;
						
						<input isHide="true"  style="width:70px;"  　  type="text"  onKeyUp="javascript:clearNoNum(event,this)" onBlur="javascript:checkNum(this)"  name="fsfdgdjzs"　 value="" id="fsfdgdjzs"/>
						组
					</td>
					<td bordercolor="#000000" style="border-bottom:0px;" width="35%"　 colspan="5" height="25" >
						发电量：<input isHide="true"  style="width:70px;"  　  type="text"  onKeyUp="javascript:clearNoNum(event,this)" onBlur="javascript:checkNum(this)"  name="fsfdcount"　 value="" id="fsfdcount"/>
						KW/（吨·垃圾）
					</td>
				</tr>
				<tr>
					<td bordercolor="#000000" style="border-bottom:0px;" colspan="9" height="25" >
						供热能力：<input isHide="true"  style="width:70px;"  　  type="text"  onKeyUp="javascript:clearNoNum(event,this)" onBlur="javascript:checkNum(this)"  name="fsfdgdnl"　 value="" id="fsfdgdnl"/>
						MW
					</td>
				</tr>
				<tr>
					<td bordercolor="#000000" colspan="9" height="25" >
						参数自动控制：是<input isHide="true" name="fsfdcskz"  type="radio"  value="1" />
						<input isHide="true" name="fsfdcskz"   type="radio"   value="2" />
						否	
					</td>
				</tr>
				<tr>
					<td bordercolor="#000000" colspan="9" height="25" >
						&nbsp;尾气处理：&nbsp;&nbsp;&nbsp;脱硫<input isHide="true"  type="radio" name="fsfdwqcl"　 value="0" />
						&nbsp;&nbsp;&nbsp;脱硝<input isHide="true" type="radio"　  name="fsfdwqcl"　 value="1" />
						&nbsp;&nbsp;&nbsp;布袋除尘<input isHide="true" type="radio"　  name="fsfdwqcl"　 value="2" />
						&nbsp;&nbsp;&nbsp;脱二噁英<input isHide="true" type="radio"   name="fsfdwqcl"　　value="3" />
						&nbsp;&nbsp;&nbsp;其它<input isHide="true" type="radio"   name="fsfdwqcl"　　value="4" />
					</td>
				</tr>
				<tr>
				 <td colspan="9" align="center">&nbsp;&nbsp;</td>
				</tr>
			  <tr>
               <td colspan="9" align="center">
		           <input type="button" onclick="dosave();" value="保存"/>&nbsp;&nbsp;&nbsp;&nbsp;
		           <input type="button" onclick="window.close();"  value="取消"/>
		        </td>
			  </tr>	
              </table>
              </td>
            </tr>
    </table>
    </div>
    </form>
    </body>
  </html>